package com.wwdx.wechat.config.merchant;

import com.wwdx.wechat.config.BaseWxPayConfig;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * 蜜读微信支付配置
 * @author liguoliang
 */
@Configuration
public class MerchantWxPayConfig extends BaseWxPayConfig {

	@Value("#{constantProperties['merchant_appId']}")
	private String appId;

	@Value("#{constantProperties['merchant_mchId']}")
	private String mchId;

	@Value("#{constantProperties['merchant_mchKey']}")
	private String mchKey;

	@Value("#{constantProperties['merchant_subAppId']}")
	private String subAppId;

	@Value("#{constantProperties['merchant_subMchId']}")
	private String subMchId;

	@Value("#{constantProperties['merchant_keyPath']}")
	private String keyPath;

	@Override
	public String getAppId() {
		return this.appId;
	}
	@Override
	public String getMchId() {
		return this.mchId;
	}
	@Override
	public String getMchKey() {
		return this.mchKey;
	}
}